package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * @program: HousingRental_tenant_Server_JAVA
 * @description: 周期类型
 * @author: @Dog_E
 * @create: 2020-09-14 09:22
 **/
public enum PeriodTypeEnum implements IEnum {

    /**
     * 周期不限
     */
    UNLIMITED_PERIOD(0, "周期不限", 0),
    /**
     * 起租日期
     */
    LEASE_START_DATE(1, "起租日期", 0),
    /**
     * 退租日期
     */
    CANCELLATION_DATE(2, "退租日期", 0),
    /**
     * 实退日期
     */
    ACTUAL_WITHDRAWAL_DATE(3, "实退日期", 0),
    /**
     * 录入日期
     */
    ENTRY_DATE(4, "录入日期", 0),
    /**
     * 签约日期
     */
    CONTRACT_DATE(5, "签约日期", 0);
    private Integer id;
    private String name;
    private Integer select;

    PeriodTypeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    @Override
    public Serializable getValue() {
        return null;
    }

}
